﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Zj.DDDSample.Domain.Core
{
    /// <summary>
    /// Entity base.
    /// </summary>
    public class Entity<T>
    {
        public T Id { get; set; }
    }

    public class Entity
        :Entity<string>
    {

        public Entity()
        {
            this.Id = Guid.NewGuid().ToString("N");
        }
    }
}
